package com.example.demo.test1.entity;

import com.example.demo.utils.KeyValue;
import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Data;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @author cys1731 2020/4/23 15:10
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AccountViewDTO {
    /**
     * 数据年份
     */
    private Integer year;
    /**
     * 数据所属
     */
    private String belong;
    /**
     * 费用单位
     */
    private String unit;

    private List<Map<String, Object>> overView;
    private List<KeyValue<String, Float>>  top5;
    private Float[] monthOverView;
    private LinkedHashMap<String, Float>[] monthOverViewDetail;
    private LinkedHashMap<String, float[]> monthTypeView;
    private LinkedHashMap<String, LinkedHashMap<String, Object>[]> monthTypeViewDetail;
}
